package com.appspot.chooserepository.client;

import java.util.ArrayList;

public enum Users {
	URI("Uri", "NA"),
	ELAD("Elad", "NA"),
	AVIV("Aviv", "NA"),
	YAEL("Yael", "NA"),
	ELIZABETH("Elizabeth", "NA"),
	DANNY("Danny", "NA"),
	MIKE("Mike", "NA"),
	JASON("Jason", "NA"),
	KFIR("Kfir", "NA"),
	GUEST1("Guest1", "NA"),
	GUEST2("Guest2", "NA");

	private final String name;
	private final String emailAddress;

	private Users(String name, String emailAddress) {
		this.name = name;
		this.emailAddress = emailAddress;
	}

	public String getName() {
		return name;
	}

	public String getEmailAddress() {
		return emailAddress;
	}
	
	public static ArrayList<String> getListOfUsers()
	{
		ArrayList<String> usersList = new ArrayList<String>();
		for (Users user : Users.values()) {
			usersList.add(user.getName());
		}
		return usersList;
	}

}
